export interface UserInfo {
  username?: string | null
  avatar?: string | null
}

// interface User {
//   checkUser: UserInfo
// }

export interface LoginFormData {
  username: string
  password: string
}

export interface LoginResponseData {
  data: string
  code: number
  message: string
  ok: boolean
}

export interface UserResponseData {
  code: number
  data: UserInfo
  ok: boolean
  message: string
}
